package com.freecloud.framework.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: maomao
 * @Date: 2019-08-17 11:19
 */
@Configuration
@EnableAutoConfiguration
@Data
public class FreeCloudConfig {

    /**
     * 远程调用方式
     */
    @Value("${freecloud.remotecall.type:local}")
    private String remoteCall;

    /**
     * 是否打开feign注册
     */
    @Value("${spring.cloud.nacos.discovery.watch.enabled:false}")
    private boolean feignEnabled;

    @Value("${freecloud.upload.path:}")
    private String uploadPath;
}
